<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>
<body>

	<h3>Alterar missao - ${missao.id }</h3>
	<div class="erro">
		<form:errors path="missao.descricao" />
	</div>
	<form action="alteraMissao" method="post">
		<input type="hidden" name="id" value="${missao.id }" /> Descrição:</br>
		<textarea rows="5" cols="100" name="descricao">${missao.descricao }</textarea>
		</br> Status: <input type="checkbox" name="finalizado" value="true"
			${missao.finalizado? 'checked' : '' } /><br /> Data de finalização<br />
		<input type="text" name="dataFinalizacao"
			value="<fmt:formatDate 
			value="${missao.dataFinalizacao.time}" pattern="dd/MM/yyyy" /> "/>
		<br /> <input type="submit" value="alterar">


	</form>
	</hr>

</body>
</html>
